import { defineStore } from 'pinia'

export const useBbListStore = defineStore('bbList', {
  state: () => ({ items: [] }),
  getters: {
    double: (state) => state.count * 2,
  },
  actions: {
    save(e) {
      this.items.push(e)
    },
  },
})
